package org.equivalence.common;

import java.io.Serializable;

/**
 * these are stored at the start of a fileTransferManafer stream
 * and inform the reciever of a stream what files are in the stream and how
 * large they are
 * @author glenn
 *
 */
public class FileTransferHeader implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1094688877187653161L;
	private String fileName;
	private long fileLength;

	public FileTransferHeader(String fileName,long fileLength) {
		this.fileName = fileName;
		this.fileLength = fileLength;
	}

	/**
	 * @return the fileLength
	 */
	public final long getFileLength() {
		return fileLength;
	}

	/**
	 * @return the fileName
	 */
	public final String getFileName() {
		return fileName;
	}
}
